Skip to content

[Draft] [Port to dspace-7_x] Prevent double rendering dynamic themes#4230

Draft
LotteHofstede wants to merge 2 commits intoDSpace:dspace-7_xfrom
atmire:4123-duplicate-theme-rendering_contibute-7.x
Draft

[Draft] [Port to dspace-7_x] Prevent double rendering dynamic themes#4230
LotteHofstede wants to merge 2 commits intoDSpace:dspace-7_xfrom
atmire:4123-duplicate-theme-rendering_contibute-7.x

Conversation

@LotteHofstede
Copy link
Copy Markdown
Contributor

References

Description

The code changes in this PR forego setting an initial theme when dynamic themes are enabled. This way, when initially loading a page, it won't briefly show the base theme before rendering the dynamically configurated theme.

Instructions for Reviewers

When hard refreshing a page with a dynamically set theme, the base theme won't be briefly loaded anymore.

@LotteHofstede LotteHofstede force-pushed the 4123-duplicate-theme-rendering_contibute-7.x branch from cfd5419 to 0a4f0b9 Compare April 22, 2025 17:10
@github-actions
Copy link
Copy Markdown

Hi @LotteHofstede,
Conflicts have been detected against the base branch.
Please resolve these conflicts as soon as you can. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant